import { post, get } from '@/utils/http'
import type { IOrderType } from '@/typings/orderType'

// 订单列表数据获取API 
export const getOrderApi = (page = 1, size = 10) => get<IOrderType>(`/api/orders?page=${page}&size=${size}`)